package com.wgy.day20.类作为成员变量使用;

/**
 * Created by pc on 2020/11/17 22:25
 * Description: LearningJava
 */
public class Weapon {
    private String code; //武器代号

    public Weapon() {
    }

    public Weapon(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
